<template>
  <div>   
    <BasicForm @register="register">

    </BasicForm>
  </div>
</template>
<script lang="ts" setup>
// 权限
// import { usePermission } from '/@/hooks/web/usePermission';
import { BasicForm, useForm } from '/@/components/Form';
// import { getToken } from '/@/utils/auth/index';
import { Notice } from './notice';
// const { hasPermission } = usePermission();
// import { ref } from 'vue';
// import axios from 'axios';
// import { func } from 'vue-types';
const [register] = useForm({
  labelCol: {
    span: 8,
  },
  wrapperCol: {
    span: 10,
  },
  baseColProps: {
    //这个是占用位置,一行共24个
    span: 24,
  },
  schemas: Notice,
  actionColOptions: {
    offset: 8,
    span: 12,
  },
  submitButtonOptions: {
    text: '提交',
  },
  showSubmitButton:false,
  showResetButton:false
});
</script>
